class RemoveDefaultValueForFragmentChapter < ActiveRecord::Migration
  def self.up
	change_column(:fragments, :chapter_id, :integer, :default=>nil, :null=>false)
  end

  def self.down
	change_column(:fragments, :chapter_id, :integer, :default=>0)
  end
end
